Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

319
Visualizações
Finding k-nn with LSH when k > size of bucket

I've been reading up on the literature around locality sensitive hashing, and I think have a pretty good understanding of how it works. Considering the most simple case of a single hash table where each document is in only one bucket, my question is:

How do I find k nearest neighbours where k is greater than the number of documents in that bucket?

I've seen several methods to accomplish this. Some use a prefix tree. Others sort all the buckets by their hamming distance.

My constraints:

I have my document IDs stored in PostgreSQL alongside their respective buckets. A full table scan to calculate the hamming distance with each bucket is not feasible (I have hundreds of millions of documents). My bucket hash will likely be 24, or 32 bits (unless there is a suggestion against this). Does anyone have experience with, or suggested approaches on how to proceed?

over 4 years ago · Santiago Trujillo
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda